<template>
  <div class="xinxi-text">信息首页</div>
  <div class="top">
    <div class="top-left">
      <p>快捷菜单</p>
      <div class="top-top">
        <div>
          <img src="../../../assets/images/icon01.png" alt="" />
          <p>酒店基础信息</p>
        </div>
        <div>
          <img src="../../../assets/images/icon02.png" alt="" />
          <p>图片视频</p>
        </div>
        <div>
          <img src="../../../assets/images/icon03.png" alt="" />
          <p>房型信息</p>
        </div>
        <div>
          <img src="../../../assets/images/icon04.png" alt="" />
          <p>酒店亮点</p>
        </div>
      </div>
      <div class="top-bottom">
        <div>
          <img src="../../../assets/images/icon05.png" alt="" />
          <p>酒店政策</p>
        </div>
        <div>
          <img src="../../../assets/images/icon06.png" alt="" />
          <p>酒店设施</p>
        </div>
        <div>
          <img src="../../../assets/images/icon07.png" alt="" />
          <p>房型设施</p>
        </div>
        <div></div>
      </div>
    </div>
    <div class="top-right">
      <p>同城同星级前五名</p>
      <ul>
        <li v-for="item in arrLi">
          <span class="text_1">{{ item.id}}</span>
          <span class="text_2">{{ item.content}}</span>
          <span class="text_3">{{ item.score}}</span>
        </li>
      </ul>
    </div>
  </div>
  <div class="bottom">
    <div class="bottom-left">
      <p>总得分 <span>94</span></p>
      <div class="text-wrapper">
        <span class="text_1">当前分数更新时间为：</span>
        <span class="text_2">2021-10-19</span>
      </div>
      <div class="text-wrapper_1">
        <span class="text_3">
          落后于17.64%的同城酒店&nbsp;100分的住宿网页内容评分可能促进订单量增长18%
        </span>
      </div>
      <el-progress
        :show-text="false"
        :text-inside="true"
        :stroke-width="30"
        :percentage="90"
      />
      <div class="text-wrapper_2">
        <span class="text_4">0%</span>
        <span class="text_5">100%</span>
      </div>
    </div>
    <div class="bottom-right">
      <p>信息分待完成任务</p>
      <div class="box_1">
        <span class="box_1-text1">酒店基本信息</span>
        <span class="box_1-text2"
          >完整的房型和准确的信息帮助客户有效的挑选对比</span
        >
        <img
          referrerpolicy="no-referrer"
          src="https://lanhu.oss-cn-beijing.aliyuncs.com/ps4bw3m9es2d74i2vfvcyeohllp1pl2ddx14cd3d58-2b3c-4cd4-9aac-80f44d31099c"
        />
      </div>
      <div class="box_2">
        <span class="box_2-text1">酒店&amp;房型图片</span>
        <span class="box_2-text2">丰富的高清图片会吸引更多潜在客人</span>
      </div>
      <div class="box_3">
        <div>
            <span>酒店图片&nbsp;</span>
            <span>-酒店高清图片仍需添加3张</span>
        </div>
        <span class="box_3-text2">立即添加</span>
      </div>
    </div>
  </div>
</template>
<script lang="ts" setup>

const arrLi = [
  {
    id: 1,
    content: "杭州西湖东坡酒店)",
    score: 100,
  },
  {
    id: 2,
    content: "杭州华辰国际饭店",
    score: 100,
  },
  {
    id: 3,
    content: "浙江饭店",
    score: 100,
  },
  {
    id: 4,
    content: "美豪丽致酒店杭州武林店",
    score: 100,
  },
  {
    id: 5,
    content: "杭州栖湖轻奢酒",
    score: 100,
  },
];
</script>
<style lang="less" scoped>
.xinxi-text {
  font-size: 16px;
  margin-bottom: 10px;
}
.top {
  display: flex;
  .top-left {
    width: 60%;
    height: 350px;
    background-color: #ffffff;
    border-radius: 5px;

    .top-top {
      display: flex;
      justify-content: space-around;
      text-align: center;
      margin-top: 50px;

      div {
        flex: 3;
      }
    }

    .top-bottom {
      text-align: center;
      display: flex;
      margin-top: 50px;
      justify-content: space-evenly;

      div {
        flex: 3;
      }
    }

    p {
      font-size: 14px;
      padding-top: 10px;
      padding-left: 10px;
    }

    img {
      width: 50px;
      height: 50px;
    }

    div {
      // width: 80px;
      // height: 80px;
      display: inline-block;
    }
  }
  .top-right {
    margin-left: 10px;
    width: 40%;
    height: 350px;
    background: #ffffff;
    p {
      font-size: 14px;
      padding-top: 10px;
      padding-left: 10px;
    }

    ul {
      li {
        width: 100%;
        height: 14px;
        margin-top: 40px;
        margin-left: 40px;
        margin-right: 40px;
        font-size: 12px;
        display: flex;

        justify-content:space-evenly .text_1 {
          flex: 1;
        }

        .text_2 {
          flex: 3;
          margin-left: 21px;
        }

        .text_3 {
          flex: 1;
        }
      }
    }
  }
}
.bottom {
  display: flex;
  margin-top: 10px;
  .bottom-left {
    background-color: #ffffff;
    width: 60%;
    height: 350px;
    p {
      font-size: 14px;
      padding-top: 10px;
      padding-left: 10px;

      span {
        font-size: 20px;
      }
    }
    .text-wrapper {
      margin: 60px 0 0 30px;

      .text_1,
      .text_2 {
        font-size: 12px;
      }
    }

    .text-wrapper_1 {
      margin: 30px 0 0 30px;
    }

    :deep(.el-progress-bar__outer) {
      margin: 40px 30px 0 30px;
    }
    .text-wrapper_2 {
      margin: 16px 30px 156px 30px;
      display: flex;
      justify-content: space-between;
    }
  }
  .bottom-right {
    background-color: #ffffff;
    width: 40%;
    height: 350px;
    margin-left: 10px;
    p {
      font-size: 14px;
      padding-top: 10px;
      padding-left: 10px;
    }
    .box_1 {
      margin: 60px 0 0 30px;
      .box_1-text1 {
        font-size: 12px;
        margin-top: 1px;
      }
      .box_1-text2 {
        color: #999999;
        margin-left: 19px;
      }
      img {
        margin-left: 20px;
      }
    }
    .box_2 {
      width: 90%;
      height: 44px;
      margin: 30px 0 0 30px;
      line-height: 44px;
      justify-content: space-between;
      background-color: #eeeeee;
      .box_2-text1 {
        font-size: 12px;
        margin-top: 1px;
      }
      .box_2-text2 {
        color: #999999;
        margin-left: 19px;
      }
    }
    .box_3 {
      margin: 30px 0 0 30px;
        display: flex;
        justify-content: space-between;
      .box_3-text2 {
        color: rgba(4, 102, 200, 1);
        font-size: 12px;
      }
    }
  }
}
</style>
